#ifndef _GAMEOBJ_MANAGER_H_
#define _GAMEOBJ_MANAGER_H_

#include "../share/common_singleton.h"
#include "../share/gameobj_manager.h"

#include "obj_define.h"
#include "Player.h"
#include "../share/session.h"
#include "team_mgr.h"


class CGameObjManager : 
	public ::common::CGameObjectManager< OBJTYPE_END >,
	public ::common::CSingleton< CGameObjManager >
{
public:
	virtual bool Initialize( );
private:
	::common::CObjectPool< Player, OBJTYPE_PLAYER > player_pool_;
	::common::CObjectPool< CTeam, OBJTYPE_TEAM > team_pool_;
	//::common::CObjectPool< ::common::CSession, OBJTYPE_SESSION > session_pool_;
};

#endif


